#!/usr/bin/env python3
import nmap
import sys
from f1_nmap_survival_host import nmap_ping_scan
from f2_nmap_A_scan import scan_nmap_A
def nmap_scan_segment(network_prefix):
    host_ip_list = nmap_ping_scan(network_prefix)
    for host_ip in host_ip_list:
        scan_nmap_A(host_ip)

if __name__ == "__main__":
    scan_nmap_A(sys.argv[1])
    
